home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-16 | 917 b | 36 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 9152593 13-April-90 03:08PDT
-
- From: SCHMUCKER1 Schmucker, Kurt
-
- To: UK0392 EHN & DIJ Oakley,IDV
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: INHERITED Usage
-
- Howard,
-
- Regarding your comment on Object Pascal in "Re-Re>Dimming TEditText":
-
- >you can only call INHERITED for a method which you have overidden and then
- >from within that overiding method
-
-
- This is certainly how INHERITED is normally used, but there is no such
- language restriction. Code like:
-
- > PROCEDURE TYourEditText.ViewEnable(state, redraw: BOOLEAN);
- > BEGIN
- > INHERITED ViewEnable(state, kDontRedraw);
- > INHERITED DimState(NOT state, redraw);
- > END;
-
-
- is rare (after all, it was written by James!), but it is legal.
-
-
- Kurt
-
-